package com.sftz.assets.entities;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("institution")
public class InstitutionEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("创建者Id")
	private Integer creator;

	@Column
	@Comment("机构名")
	private String institutionName;

	@Column
	@Comment("机构图标")
	private String avatarUrl;

	@Column
	@Comment("机构分类")
	private Integer institutionType;

	@Column
	@Comment("机构介绍")
	private String intro;
	
	@Column
	@Comment("机构简介")
	private String synopsis;

	@Column
	@Comment("机构代码类型")
	private Integer institutionNumType;

	@Column
	@Comment("机构编号")
	private String institutionNum;

	@Column
	@Comment("营业执照")
	private String businessUrl;

	@Column
	@Comment("参考性证件")
	private String businessOtherUrl;

	@Column
	@Comment("申请人")
	private String applyName;

	@Column
	@Comment("申请人手机号")
	private String applyPhone;

	@Column
	@Comment("申请人电子邮箱")
	private String applyEmail;

	@Column
	@Comment("申请人身份证号")
	private String identity;

	@Column
	@Comment("申请人证件照")
	private String identityUrl;
	
	@Column
	@Comment("申请人证件背面照")
	private String identitySide;
	
	@Column
	@Comment("报名人数")
	private Integer signCount;

	@Column
	@Comment("时间")
	private Date applyDate;

	@Column
	@Comment("机构联系方式")
	private String tel;

	@Column
	@Comment("机构状态")
	private Integer insititutionState;
	
	@Column
    @Comment("机构封面url")
	private String coverUrl;
	
	@Column
    @Comment("机构logo")
	private String logoUrl;

}